package com.sc.dal.dto.order;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: TSaleOrderDto
 * @Description: T+销售订单实体类 适用于 T+销售订单新增接口
 * @author LeiJia
 * @date 2017年34月17日上午11：13:44
 * @version V1.0
 */
public class TSaleOrderDto  implements Serializable{
	
	private static final long serialVersionUID = 6451954854158721031L;
	
	private String VoucherDate;// "2014-10-15",
    private String ExternalCode;//"1",
    private TCustomer Customer;// {Code: "001"},
    private String Address;// "xx省xx市",
    private String LinkMan; //张三",
    private String ContactPhone;// 13611111111
    private String Memo;//测试OpenAPI
    private boolean IsAutoAudit;//1、是否自动审核（适用于T+12.1以上版本）
  //  2、为True时，生成到T+中的销售订单自动进行审核，审核人与制单人相同，不判断审核权限
  //  为Flase时。不进行自动审核
  //  3、放在动态属性中,字母需全部小写，见例子
   // 4、默认为Flase
    private TDataSource DataSource; //目前支持淘宝(03)、天猫(04)、京东(05)、B2B(01)、B2C(07)、T+（02）、其它(06)
    private Object[] DynamicPropertyKeys;//["isautoaudit"],
    private Object[] DynamicPropertyValues;//[true],
    private List<TSaleOrderDetails> SaleOrderDetails;
    
    private List<TSaleDeliveryDetail> SaleDeliveryDetails = new ArrayList<TSaleDeliveryDetail>(); ;    
    
	public List<TSaleDeliveryDetail> getSaleDeliveryDetails() {
		return SaleDeliveryDetails;
	}
	public void setSaleDeliveryDetails(List<TSaleDeliveryDetail> saleDeliveryDetails) {
		SaleDeliveryDetails = saleDeliveryDetails;
	}
	public boolean isIsAutoAudit() {
		return IsAutoAudit;
	}
	public void setIsAutoAudit(boolean isAutoAudit) {
		IsAutoAudit = isAutoAudit;
	}
	
	
	public TDataSource getDataSource() {
		return DataSource;
	}
	public void setDataSource(TDataSource dataSource) {
		DataSource = dataSource;
	}
	public String getVoucherDate() {
		return VoucherDate;
	}
	public void setVoucherDate(String voucherDate) {
		VoucherDate = voucherDate;
	}
	public String getExternalCode() {
		return ExternalCode;
	}
	public void setExternalCode(String externalCode) {
		ExternalCode = externalCode;
	}
	public TCustomer getCustomer() {
		return Customer;
	}
	public void setCustomer(TCustomer customer) {
		Customer = customer;
	}
	public String getAddress() {
		return Address;
	}
	public void setAddress(String address) {
		Address = address;
	}
	public String getLinkMan() {
		return LinkMan;
	}
	public void setLinkMan(String linkMan) {
		LinkMan = linkMan;
	}
	public String getContactPhone() {
		return ContactPhone;
	}
	public void setContactPhone(String contactPhone) {
		ContactPhone = contactPhone;
	}
	public String getMemo() {
		return Memo;
	}
	public void setMemo(String memo) {
		Memo = memo;
	}
	public Object[] getDynamicPropertyKeys() {
		return DynamicPropertyKeys;
	}
	public void setDynamicPropertyKeys(Object[] dynamicPropertyKeys) {
		DynamicPropertyKeys = dynamicPropertyKeys;
	}
	public Object[] getDynamicPropertyValues() {
		return DynamicPropertyValues;
	}
	public void setDynamicPropertyValues(Object[] dynamicPropertyValues) {
		DynamicPropertyValues = dynamicPropertyValues;
	}
	public List<TSaleOrderDetails> getSaleOrderDetails() {
		return SaleOrderDetails;
	}
	public void setSaleOrderDetails(List<TSaleOrderDetails> saleOrderDetails) {
		SaleOrderDetails = saleOrderDetails;
	}
    
}
